package it.cqupt.service.store;

import com.github.pagehelper.PageInfo;
import it.cqupt.domain.store.QuestionItem;

import java.util.List;

public interface QuestionItemService {
    void save(QuestionItem questionItem);
    void delete(QuestionItem questionItem);
    void update(QuestionItem questionItem);
    QuestionItem findById(String id);
    //使用pagehelper这个工具来直接实现分页显示
    PageInfo findAll(int page, int size,String questionId);
}
